package com.video.video.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.video.common.annotation.Excel;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

@Data
public class HtDOrderRecordDto implements Serializable {
  @Excel(name = "订单编号")
  private String id;

  @Excel(name = "会员名称")
  private String realname;

  @Excel(name = "商品ID")
  private String gid;
  @Excel(name = "商品名称")
  private String goodName;


  /** 售价金额 */
  @Excel(name = "售价金额")
  private BigDecimal sellPrice;

  /** 实际支付金额 */
  @Excel(name = "实际支付金额")
  private BigDecimal payAmount;

  /** 会员折扣比例 */
  @Excel(name = "会员折扣比例")
  private BigDecimal userRate;

  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
  private Date createTime;
}
